package com.lc202407;

public class Solution2529 {
    public int maximumCount(int[] nums) {
        int minus = 0;
        int positive = 0;
        for (int num : nums) {
            if (num > 0) {
                positive++;
                continue;
            }
            if (num < 0) {
                minus++;
            }
        }
        return Math.max(minus, positive);
    }

}
